package test

import simple.entity.Journal

class JouralTest extends GroovyTestCase{
    void testToString() {
        def bk1 = new Journal(catalogNumber: '111', title: 'Grovvy', editor: 'K Barclay', publisher: 'pepole')
        def expected = 'Journal:111:Grovvy:pepole=> editod by:K Barclay'
        assertToString(bk1,expected)
    }
}
